package com.kusen.village.raise.service.impl;

import com.kusen.village.raise.entity.SysLoginForm;
import com.kusen.village.raise.entity.User;
import com.kusen.village.raise.mapper.UserMapper;
import com.kusen.village.raise.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description: 用户服务层
 * @author: ghl
 * @create: 2021-12-05 15:47
 **/
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User getUserByUserNameAndPassword(SysLoginForm form) {
        return userMapper.getUserByUserNameAndPassword(form);
    }
}
